Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add promise_batch_action_function_call_weight #186

Merged
merged 6 commits into from
Aug 25, 2022

Conversation

ailisp
Copy link
Member

@ailisp ailisp commented Aug 22, 2022

Address #175

@austinabell do you have a good use case to test promise_batch_action_function_call_weight? Didn't see sys::promise_batch_action_function_call_weight is tested in Rust SDK

@ailisp ailisp requested a review from volovyks as a code owner August 22, 2022 09:22
@austinabell
Copy link
Contributor

Address #175

@austinabell do you have a good use case to test promise_batch_action_function_call_weight? Didn't see sys::promise_batch_action_function_call_weight is tested in Rust SDK

Not really; it's just tested very specifically within nearcore and then through workspaces tests in examples

@ailisp
Copy link
Member Author

ailisp commented Aug 23, 2022

@austinabell Got it. Sounds good!

@volovyks this one is ready for review. Testing gas=0, weight=1 in the test pass remaining to the cross contract call. Rust SDK cross contract call, factorial example has used this feature, I can add the similar example in high level promise api work

Copy link
Collaborator

@volovyks volovyks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ailisp ailisp merged commit 2e6bfad into develop Aug 25, 2022
@ailisp ailisp deleted the promise_batch_action_function_call_weight branch August 25, 2022 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants